
<script>
	
	export default {
		onLaunch: function() {
			console.log('App Launch')
			let systemInfo = uni.getSystemInfoSync();
			// 初始化时检查当前语言
			const currentLang = systemInfo.appLanguage || 'zh-CN'
			console.log('Current language:', currentLang)
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>
